package com.woniu.cms.contract.core.service;

import com.woniu.cms.contract.core.entity.UndertakeContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.api.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maple leaf
 * @since 2022-09-17
 */
public interface IUndertakeContractService extends IService<UndertakeContract> {

    Result queryUnder(String undertakeContractCode, Integer currentPage,Integer pageSize);

    Result addUnder(UndertakeContract undertakeContract);

    List<UndertakeContract> generatedNumber(String un, String date, String area);

    Result updUnder(UndertakeContract undertakeContract);

    Result auditUnder(UndertakeContract undertakeContract);

    Result delUnder(String undertakeContractCode);

}
